Clean up PeerConnections in these tests. Differential Revision: https://phabricator.services.mozilla.com/D79529 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1643058 gecko-commit: 4767df198c29cb1cd5c2c835a0b29267b9c8a106 gecko-integration-branch: autoland gecko-reviewers: jib 
diff --git a/webrtc/getstats.html b/webrtc/getstats.html index 979e99c..0950a37 100644 --- a/webrtc/getstats.html +++ b/webrtc/getstats.html 
@@ -81,10 +81,12 @@  // This function starts the test.  test.step(function() {  gFirstConnection = new RTCPeerConnection(null); + test.add_cleanup(() => gFirstConnection.close());  gFirstConnection.onicecandidate = onIceCandidateToFirst;  gFirstConnection.oniceconnectionstatechange = onIceConnectionStateChange;    gSecondConnection = new RTCPeerConnection(null); + test.add_cleanup(() => gSecondConnection.close());  gSecondConnection.onicecandidate = onIceCandidateToSecond;    // The createDataChannel is necessary and sufficient to make